package simply.learn.hibernate.learn.example1;

import java.util.Date;

/**
 * 
 * 
 * 
 * @author S.Sridhar
 * 
 *
 */

public class Student{

	private Integer id;
	private String name;
	private Date dob;
	private String place;
	
	public Student() {
	}
	
	public Student(String name,Date dob,String place) {
		this.name = name;
		this.dob = dob;
		this.place = place;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getDob() {
		return dob;
	}
	public void setDob(Date dob) {
		this.dob = dob;
	}
	public String getPlace() {
		return place;
	}
	public void setPlace(String place) {
		this.place = place;
	}
	
	
}
